package com.service.zk;

import com.bean.zk.State;
import com.dao.zk.StateDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StateService {

    @Resource
    private StateDAO stateDAO;

    public List<State> getStates() {
      return   stateDAO.getStates();
    }
}
